Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Attempt to skip IMDS if region or credentials are provided #1886

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

samster25
Copy link
Member

@samster25 samster25 commented Feb 14, 2024

This should fix issues if the user provides a region and the sdk still attempts to grab region info from the provider which shows up as the following issue:

failed to load region from IMDS err=failed to load IMDS session token

This should also fix our IMDSv2 credential timeout issue we see on EKS

@github-actions github-actions bot added the bug Something isn't working label Feb 14, 2024
@samster25 samster25 changed the title [BUG] dont use imds if creds/region is provided [BUG] Attempt to skip IMDS if region or credentials are provided Feb 14, 2024
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (74591c1) 85.50% compared to head (65a41b8) 85.48%.
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1886      +/-   ##
==========================================
- Coverage   85.50%   85.48%   -0.02%     
==========================================
  Files          55       55              
  Lines        6194     6194              
==========================================
- Hits         5296     5295       -1     
- Misses        898      899       +1     

see 1 file with indirect coverage changes

@samster25 samster25 requested a review from jaychia February 14, 2024 22:29
@samster25 samster25 merged commit 1ac53c9 into main Feb 15, 2024
48 checks passed
@samster25 samster25 deleted the sammy/skip-imds-if-provided branch February 15, 2024 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant